package com.binarysoft.service.product;

import java.util.Collection;

import common.framework.dsb.DynamicService;

public interface ProductService extends DynamicService {

	Collection<Product> getAllProducts() throws Exception;

	Product getProduct(long productID) throws Exception;

	Collection<Product> getAllProducts(int pageNumber, int pageSize) throws Exception;

	void addProduct(Product product) throws Exception;

	void deleteProduct(long productID) throws Exception;

	void updateProduct(Product product) throws Exception;
}
